package com.order.feign;

import com.aaa.entity.TProduct;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;

@Service
public class ProductFeignImpl implements ProductFeign {
    @Override
    public TProduct getByProId(Integer id) {
        TProduct tProduct = new TProduct();
        tProduct.setPrice(-1);
        return tProduct;
    }
}
